package com.xyz.dao.mapper;

import com.free.ext.mybatis.mapper.CustomMapper;
import com.xyz.domain.table.CCustomer;
import org.apache.commons.lang3.StringUtils;
import org.apache.ibatis.annotations.Param;

public interface CCustomerMapper extends CustomMapper<CCustomer> {
    CCustomer selectByRecommendCode(@Param("recommendCode") String recommendCode);
    CCustomer selectByMobile(@Param("mobile") String mobile);
    Integer isUserExists(CCustomer userName);
    Integer insertUserInfo(@Param("customer")CCustomer customer);
    Integer udpCustmerPassword(CCustomer customer);
}